package com.loan.system.service;

import com.loan.common.core.domain.PageQuery;
import com.loan.common.core.domain.Result;
import com.loan.common.core.page.TableDataInfo;
import com.loan.system.domain.AddressEntity;
import com.loan.system.domain.BankEntity;

import java.util.List;

/**
 * @author shiguang on 2022/9/14 14:46
 */
public interface BankService {

    BankEntity selectByBankNo(String bankNo);

    void insertBank(BankEntity bankEntity);

    void updateBank(BankEntity bankEntity);

    TableDataInfo<BankEntity> selectPageBankList(BankEntity entity, PageQuery pageQuery);

    void updateHqpayBankId();

    BankEntity selectById(Long bankId);

    List<BankEntity> list();
}
